package com.nine.mymall.product.dao;

import com.nine.mymall.product.entity.AttrAttrgroupRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nine.mymall.product.vo.AttrGroupRelationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性&属性分组关联
 * 
 * @author nine
 * @email 2685441173@qq.com
 * @date 2021-08-27 16:53:59
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    // 对每一个要处理的对象，都加一下 @Param
    void deleteBatchRelations(@Param("entities") List<AttrGroupRelationVo> entities);
}
